package com.j2eefast.produce.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 参数配置
 * pms_test_enter
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_configure")
public class PmsConfigureEntity extends BaseEntity{

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;

//    /**名称*/
//    @TableField(value = "configure_name")
//    private String configureName;

    /**名称*/
    @TableField(value = "configure_type")
    private String configureType;

//    /**名称*/
//    @TableField(value = "total")
//    private Long total;

    /**父类*/
    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(exist = false)
    private String parentName;




    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "create_by")
    private String createBy;

    /** 更新人 */
    @TableField(value = "update_by")
    private String updateBy;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;
















}
